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.