Snorkeling IN through surf is worse. As the wave runs you over it can hold you down and now you are fumbling U/W trying to find your reg which is who knows where in the turbulance and...
I swim in on my back through surf. It is actually where I learned about swimming in on my back.
#1 rule of the surf zone, never turn your back on it. I will fin in on my back, as a wave approaches I will flip my feet under me, put my reg in my mouth and submerge. Over sand I like to face the wave, over rocks I prefer to face the direction of travel. Repeat through the set, then when the coast is clear reg comes out I am on my back finning towards shore again. Rogue waves are common, keep an eye out.
If I find my self in the shallows with a set bearing down get on your hands and knees and breath off your reg, if the wave rolls you your air supply is not lost.