BINGHAMTON, N.Y. – Five of six Binghamton Mets got hits at one point in the bottom of the seventh inning Sunday night.

Jon Malo, the one batter who failed to get a hit in that stretch, may have made the most important play of the comeback.

Malo made it down the line fast enough to avoid an inning-ending double play, allowing the last four runs to score in a five-run inning that rallied the Mets to a 10-8 Eastern League victory over the Portland Sea Dogs.

The Mets pinned down the win before a season-high crowd of 5,740, anxious for the start of fireworks after more than three hours of baseball, when they turned a game-ending double play following back-to-back, ninth-inning singles by Che Hsuan-Lin and Nate Spears.

The plays the Sea Dogs did not make in the infield cost them for the second straight night, cutting into leads of 4-0 and 6-2 and making the comeback possible.

“We gave them pretty much everything they had,” Sea Dogs Manager Arnie Beyeler said. “In one inning, we give them two to get back in the game. Then, the next inning, we score more and give them extra outs again.”

The Mets made the most of the chance with a five-run inning, one night after breaking out for six in a 9-3 victory.

Josh Satin’s walk was followed by consecutive singles by Raul Reyes, Mike Nickeas and Jose Coronado to begin cutting into an 8-5 deficit.

With the bases loaded, Malo grounded into a 6-4 force play to score another run and extend the inning by beating the throw to first.

Kirk Nieuwenhuis followed with his seventh hit of the last two nights and the sixth for extra bases. He doubled in two runs to give Binghamton the lead, then scored on a Sean Ratliff single.

The Sea Dogs scored twice before Mets starter Eric Niesen retired his first batter.

Lin singled up the middle, then Spears and Yamaico Navarro reached on walks to load the bases. Luis Exposito’s double to the right-field fence scored two runs.

Portland added a third run before the top of the first was over when Ryan Khoury drove in Navarro with a sacrifice fly.

“Bad defense early killed us,” Beyeler said. “We held a commanding lead early.”

Both teams scored in each of the next two innings to cut Portland’s lead to 6-5 after three.

Struggles with groundballs to first base led to the trouble.

Starting pitcher Steven Fife dropped first baseman Anthony Rizzo’s throw on a D.J. Wabick grounder to start the bottom of the second, leading to two unearned runs.

The last two runs of the three-run third came in when Rizzo threw the ball behind Fife on a similar play.

“We gave them far too many outs while we were here,” Beyeler said, summing up a series in which the Mets won three of five games. “They’re a good hitting team and we gave them too much help.”

NOTES: Lin reached base five times, going 3 for 4 with a double, two walks, a run, a stolen base and an RBI. He has seven hits in the last four games while playing well defensively in center field.