Mets lefthander Steven Matz has no regrets about pitching through a bone spur in his elbow, which will be surgically removed Tuesday at the Hospital for Special Surgery in Manhattan.

“I’m happy that I did pitch through it,” said Matz, whose season was cut short by another injury, a left shoulder impingement that caused inflammation.

Matz, 25, went 9-8 with a 3.40 ERA in 22 starts this season, his first on the Opening Day roster. He last pitched on Aug. 14, his attempt at a comeback falling short because of lingering inflammation in his shoulder.

He’s expected to be ready for spring training.

“It’s always disappointing when you have to miss time due to an injury,” Matz said. “But I’d see some good outings, I’d see some bad outings. It’s all something you can learn from, the good and the bad.”

In June, the pain in Matz’s elbow prompted discussions about undergoing surgery immediately. But the Ward Melville product decided to pitch through the discomfort, comfortable enough with assurances that while pitching might be painful, it would not make the issue any worse.

advertisement | advertise on newsday

“I do know it was tough. Warming up in the bullpen was the worst,” he said. “I was like ‘Dang, how am I going to get through this?’ Normally, when I got back on the mound, I don’t know if the adrenaline kind of took over, there was never a point where I was like ‘Man, I’ve got to come out of here.’ ”

Matz had hoped to pitch in the postseason, as he did last year. And in his last few starts, he said the discomfort in his elbow had actually eased up.

“I really got over the hump and feeling great,” he said.

But his shoulder issue proved too much to overcome, though it will not require offseason surgery.

“With the shoulder, everything structurally checked out fairly well,” he said. “So I’m pretty happy with that because the shoulder can be a tricky thing.”