Modern, quality rimfires utilize firing pin stops that prevent the firing pin from striking the chamber rim when dry fired.
Yeah... most but not all...
I know the Ruger 10/22 and SR22 are safe, I own both.
I seen a Buckmark pistol with marks from dry firing. Not bad, just a spot you could tell was contacted by the firing pin. The pin stop might have allowed it to just touch but not hit with real force.