Noah Syndergaard flirted with perfection Thursday night.

The Mets didn’t need it, and Syndergaard didn’t get it, but they settled for a soaking-wet sweep instead.

While Syndergaard lost his perfect game bid in the sixth inning, he was dominant enough to shoulder the Mets to a fifth straight win, 2-0 over the Indians, in a game that was called in the bottom of the eighth inning after a pair of rain delays that spanned 3 hours, 4 minutes.

“It’s a great indication we’re playing very good baseball,” manager Mickey Callaway said. “We’re continuing to stress the right things, we’re playing the game the right way and everybody’s performing. Great team across the field over there and we came in and did a good job against them this series.”

The storms that flooded Citi Field were just about the only things to cool off the Mets (67-60), who improved to a season-high seven games over .500 and remained 1 ¹/₂ games back of the Cardinals for the last NL wild-card spot. They stayed hot at home, too, winning for the 13th time in their last 14 games in Flushing as their crucial homestand continued in convincing fashion.

The Indians (74-54) entered the series at Citi Field having scored 34 runs in a four-game set with the Yankees over the weekend. They left Queens having scored just five runs in three games.

Syndergaard retired the first 16 batters he faced, not allowing a hit until Tyler Naquin poked one that landed just short of Juan Lagares’ outstretched glove in center field with one out in the sixth inning.

But even after the buzz wore off from Syndergaard’s bid at a perfect game ending, it came right back at the end of the inning. With two outs and two on, Pete Alonso dove to his right to stop a hard ground ball off the bat of Greg Allen, then fired to Syndergaard at first to escape the jam. Alonso and Syndergaard were fired up, sharing a chest bump before they left the field with the Mets’ 2-0 lead intact.

“Yeah, we need to work on that a little bit,” Syndergaard said with a grin. “That was pure excitement.”

The tarp came on for the first time in the bottom of the sixth for a 2:28 delay. After play resumed, Jeurys Familia took over for Syndergaard and fired a scoreless seventh inning. Paul Sewald followed with a 1-2-3 eighth while Edwin Diaz warmed for a ninth inning that never came.

The Mets put runners on the corners with no outs in the bottom of the eighth when the skies opened again and the tarp came back on for the final time.

J.D. Davis kept Syndergaard, who struck out six and walked none over six innings, perfect early on a circus catch in the fourth inning when Allen lifted a fly ball deep to left field. Davis ran to the warning track and turned his back to the ball, but stretched out his glove to the left to make an over-the-shoulder catch. He tipped his cap to the crowd as it chanted his name. His face afterward showed he knew he may have gotten a bit lucky, but Wednesday’s walk-off hero could do no wrong.

“I was just more blown away that I actually caught the ball,” Davis said.

“Probably gave Willie Mays’ catch a run for his money. I’ll leave it at that,” Callaway added with a chuckle.

Wilson Ramos accounted for the only offense the Mets needed when he extended his hitting streak to 16 games with a two-run double in the fourth inning.

Add in the rain delays, Davis’ catch and the Alonso-Syndergaard chest bump, and it was just another night at the park.

“We saw some things you’ve never seen tonight,” Callaway said. “They’re feeling the energy and you gotta love the way they’re playing.”