It was Juan Pierre’s pinch-hit single off Mets ace Matt Harvey that sparked the Marlins in Thursday’s victory. Pierre feels that he can still contribute.

He also knows this season could be his last in the majors.

“It’s a strong possibility” said Pierre a veteran of 14 seasons whose playing time has diminished to a trickle with the emergence of rookie outfielders Christian Yelich and Jake Marisnick.

Pierre who turns 36 on Aug. 14 doesn’t intend to retire when his contract expires after the season. Not voluntarily. He’ll throw his name into the free agent ring. But he also knows that teams might not come calling for him over the winter.

Pierre started only three games for the Marlins in July and not at all since July 14.

Pierre thought his playing days might be finished in 2011 when his phone didn’t ring until the end of January — two weeks before the start of spring training — and the Phillies gave him a contract. Pierre parlayed that opportunity into a bit of a rebirth season in which he hit .307 and stole 37 bases. The rebuilding Marlins then brought back one of the cornerstones of their 2003 World Series team for another hurrah one that could be his last.