Next season could conceivably be the last as a Knick for Carmelo Anthony — who has a player opt-out clause in his contract he can use after the 2013-14 season.

If he does opt out next summer, he sounded as if he intended to re-sign a long-term deal with the Knicks.“I’m going to be here for many years,’’ Anthony said.

That is, if the Knicks wish to, if the club takes a step back next season. Anthony will be 30 when he decides whether to opt-out.

When asked directly of his opt-out clause, Anthony said: “I can’t think about that right now. That would be selfish on my part to even sit back and think about the situation like that. When that time comes, I’ll deal with it. Right now it’s all about as a team moving forward.’

Anthony played through a strained left shoulder suffered late during the first-round series against the Celtics. Anthony revealed he played through pain in the Eastern Conference semifinals against the Pacers.

“It was bothering me since it happened,’’ Anthony said. “There was pain. It came to the point you try not to think about it.’’

Anthony, who will be reexamined by team doctors this week to make sure no other damage exists and doesn’t think he needs surgery.

“We just checked it and everything’s stable,’’ Anthony said. “I think it’s a matter of just rest and letting it heal on your own.’’

* It seems hard to believe Jason Kidd will pass up $3.1 million next season and retire, but his buddy, Tyson Chandler, said he didn’t know whether the veteran guard will return. Kidd’s flameout in the playoffs could push him into retirement, despite having two years and $6.2 million left on his pact.

Kidd, 40, didn’t meet with reporters after Games 5 or 6, nor was he available after his exit meeting yesterday with coach Mike Woodson and general manager Glen Grunwald.

He ended the postseason on a 10-game scoreless streak and was benched in the second half of the final two contests.