A pair of Ward Melville products are on the mend after Mets lefties Steven Matz and Anthony Kay underwent elbow surgery on Tuesday.

Matz, 25, had a bone spur removed from his left elbow during an arthroscopic procedure at the Hospital For Special Surgery. He is expected to be ready for spring training.

Matz had pitched through the pain of what a person with knowledge of the situation called a “massive” bone spur. But it was a left shoulder impingement that ended Matz’s season prematurely. Matz received a PRP injection in the shoulder, according to the Mets.

In 22 starts, Matz went 9-8 with a 3.40 ERA, though he last took the mound Aug. 14. The Mets had held out hope of a return before season’s end, though multiple setbacks ended the bid last week.

Kay, 21, underwent Tommy John surgery that will sideline him for all of the 2017 season, a source confirmed. The Mets drafted Kay 31st overall in this year’s draft and had been aware of the possibility of surgery.

Those concerns led to Kay’s late signing out of UConn for $1.1 million, which was nearly $900,000 below the slot value for that spot in the draft.

advertisement | advertise on newsday

Stacking the arms

The Mets are expected to carry nine pitchers for Wednesday night’s wild-card game, including one capable of pitching multiple innings, leaving plenty of extra added wiggle room for the composition of their bench.

Teams carry 12 pitchers in the regular season, though a one-game scenario negates the need for more arms. Rosters will be set again before the National League Division Series against the Cubs.

Mets videos

Home advantage

Matz may be recovering from elbow surgery that will keep him from pitching for the Mets in the postseason. But it appears there will be at least one member of the Mets who will commute to a playoff game from their parents’ house, as Matz did last season.

Rookie T.J. Rivera will have that honor on Wednesday, when he takes the 15-minute car ride from his childhood home in the Bronx to Citi Field, where the Mets host the Giants in the National League wild-card game.

“It used to be ‘mom, bring me to the game,’ ” said Rivera, who will have an entirely different experience on Wednesday.