MIAMI — Pitching with a big lead in the eighth inning, Clayton Kershaw bounced a curve in the dirt, then spun in disgust and kicked the mound as if he had just lost the game.
Kershaw is unaccustomed even to one-pitch lapses, and he overcame the occasional difficulty he had Thursday, pitching eight innings to help the Los Angeles Dodgers win their third game in a row by beating the Miami Marlins, 6-0.
Kershaw (13-7) allowed five hits and lowered his ERA to 1.72, best in the majors. Miami’s leadoff batter reached in five innings against the lefthander, but the Marlins hit into three double plays and went 0 for 7 with runners in scoring position.
By Kershaw’s standards, that made it a subpar effort.
‘‘I was terrible the first couple of innings. I didn’t have command,’’ he said. ‘‘It could have gone a lot differently. The game could have been out of hand pretty quick.’’
Kershaw walked Christian Yelich to start the game, and the first two batters reached against him in the second inning. But the Marlins rank last in runs and hitting for a reason, and Kershaw is a Cy Young Award contender for a reason.
‘‘I’ve seen him a lot better,’’ Miami manager Mike Redmond said. ‘‘He looked like his command was not there with his fastball, but whenever we did get in a situation with a guy on, he executed his pitches and was able to keep us at bay.’’
Former All-Star closer Brian Wilson made his first major-league appearance since undergoing Tommy John surgery and pitched the ninth for Los Angeles, allowing one hit and striking out two. The game was his first since April 2012.
‘‘It was long overdue, a very arduous process, but I’m glad I went through it so I could appreciate baseball even more,’’ Wilson said. ‘‘I felt comfortable. I felt like I hadn’t skipped a beat.’’
Wilson completed the Dodgers’ 17th shutout, most in the majors.
The Dodgers (75-52) climbed 23 games above .500 for the first time since 2009. They went 5-2 on their two-city trip and have won 22 of their past 25 road games.
‘‘We’ve got the perfect mix right now — great starting pitching, timely hitting and a lockdown bullpen,’’ Dodgers catcher A.J. Ellis said. ‘‘It creates a lot of wins.’’
The Dodgers improved to 28-5 since the All-Star break.