Someone told me once that slapping something metal and grounded will discharge the energy and not hurt as much (you're expecting the impact of hitting it, so the electric shock comes with it; this is in contrast to gently brushing something and getting shocked unexpectedly). I've found it useful.
Welcome to Antarctica, friend! The buildings at Scott base are all fitted out with handrails that the occupants use to ground themselves periodically while walking around, because static buildup is such a serious issue down there.