MIAMI — This was the kind of start Noah Syndergaard needed. So did the Mets.

It didn’t hurt that a good number of scouts were in the stands Saturday night at Marlins Park to see the big right-hander, including Yankees scout Cory Melvin, The Post has learned.

The Mets are not likely to trade Syndergaard, especially before the July 31 trade deadline, but teams are doing their due diligence and anything is possible. The Yankees, of course, always do their due diligence in scouting the pitching market because of the need to upgrade their rotation.

Certainly, Syndergaard could be moved in the offseason.

But Thor was spectacular in the 4-2 win over the Marlins.

“I try not to pay too much attention to that,’’ Syndergaard said of a possible trade. “Right now I love being a Met, if something were to ever change it would be definitely bittersweet because New York City itself, the fan base, just the guys in this clubhouse have a special place in my heart.’’

On Friday, Mets GM Brodie Van Wagenen said in assessing his trade chips that he would expect both Jacob deGrom and Syndergaard to remain with the club — but the Mets are in a place where you can never really say never.

“We have some expiring contracts that are attractive to people and we have had a number of incoming calls about a number of players that we have control over beyond this year,” Van Wagenen said. “But I think at this point we’re expecting [deGrom and Syndergaard] to be a part of us going forward.”

DeGrom has a full no-trade clause as part of the five-year deal for $137.5 million he received before the season. Syndergaard is under club control through 2021.

Syndergaard’s potential is huge, and if the Mets were ever to part with him they had better get a lot back in return.

Syndergaard came into the night pitching to a 4.68 ERA but looked like a much different pitcher, at one point over the second and third innings striking out five straight Marlins.

Noted Marlins first baseman Garrett Cooper, a former Yankee: “He had good stuff tonight. His sinker was moving a lot. He didn’t really miss in the middle of the plate. The couple of times he did, we hit the ball hard and scored some runs. But, to me, he pounded in, worked away, and painted black on the corners. Sometimes you tip your cap to those kinds of performances. Move on to tomorrow. He had his good stuff tonight.”

Thor’s good stuff, 100 mph on the black, makes him a force. He worked quicker to the plate and his slider was really clicking, as was his curveball.

Manager Mickey Callaway said Syndergaard was able to keep the ball down, and that made all the difference.

Syndergaard has great success against the Marlins. He has now won four straight decisions, and this win was made possible by a rare upper-deck home run to right by Robinson Cano — a two-run blast in the eighth to break the 2-2 tie. Michael Conforto slugged a two-run home run in the third as he was moved into the two-spot to take advantage of batting ahead of Pete Alonso.

Syndergaard is 7-1 lifetime against the Marlins. He owns them. His record this season improved to 7-4.

He buzzed through seven innings, allowing five hits and two earned runs, both coming in the fourth. He struck out nine, hit one batter and did not walk anyone. He was in control and, like deGrom, he was pitching to his personal catcher Tomas Nido. Syndergaard threw 105 pitches on this hot, humid night, 69 for strikes.

This was one of the Mets’ better wins of the year, and before you can say “about time,” it did show the value of having Nido behind the plate for Syndergaard.

The bullpen did not ruin Syndergaard’s night.

Since the start of the 2016 season the Mets are 30-13 in the 43 games Syndergaard has started after a loss. Scouts love his electric stuff. Like everything else with the Mets, it is a question of being consistent.

Syndergaard will likely be safe, but Zack Wheeler is the Mets starter that surely will be traded. He will pitch Tuesday in Minnesota against the Twins and another full house of scouts.