Carmelo Anthony had right elbow and knee surgery in May and rehabbed at the Knicks’ facility before being locked out on July 1.

The Knicks never announced his surgery and Anthony revealed it during a charity game in Philadelphia in late September.

“Nobody knew I was feeling my elbow the last six years,’’ Anthony said. “If you go back to the tape and the games, I was never able to hold my follow through up. I was always jerking my shot. It just felt weird. Now I got my surgery and I am able to extend my elbow out more and it’s no pain. No pain at all.’’