J.R. Smith has 100 tattoos, including Yankees and Devils logos.

If the Knicks break their 40-year championship drought, Smith vowed to add orange-and-blue ink to his body for No. 101.

Yes, a Knicks tattoo could be coming, even though he is a free agent this summer.

“If we win a championship, I’ll definitely get it,’’ Smith told The Post. “Other than that, I’m not sure yet.’’

Smith is a devout Yankees fan and, as a Freehold, N.J., native, the Devils are his favorite hockey team. But he has been more discriminate lately about adding more tattoos — he is running out of space. He hasn’t had a new addition since joining the Knicks 14 months ago.

“My mother, she loves them now, but she probably wishes I didn’t have so many,’’ Smith said.

Smith also has a tattoo of Michael Jordan’s Bulls jersey and state map of New Jersey.

“If I wasn’t from Jersey, I don’t think I’d have the basketball knowledge I have,’’ Smith said.

Smith declined to show His Airness his Jordan tattoo when the Bobcats owner visited the Knicks’ locker room in Charlotte after Smith’s miracle buzzerbeater.

“He’s my favorite player, he didn’t need to see it,’’ Smith said. “It’s about the impact he had on my life and career.

“My fans love the tattoos,” Smith added.