So don't. Tell her you don't like being hit or humilated and if she doesn't stop you will no longer hang around her. Then if she doesn't stop, then you walk away.
This is NOT a friend and you deserve better. If you get hit again, hit back harder. Either way, I suggest it's time to separate yourself from this abuse and get next to a new friend.
Was actually 60 here today, melting off some of that awful snow!