plus it makes it harder to get out while riding
If the few extra seconds taken by untucking it from inside your top or wiping it off are that much of a chore then I suggest you just keep swallowing the animal poo and build up a resistance to it.
as im blowing trying to get up a hill and desperate for a drink i end up swallowing it
I think you maybe need to re-evalutate your drinking habits as well, you might ‘want’ a drink but it’s impossible to get that desperate for a drink on a single climb, either take a swig before you start, or take the extra time to wipe it off.
You really aren’t in need of that water right there and then, you can’t get dehydrated on a single climb*, you’d be better served by getting your breath back and then having a (clean) swig of water.
*Summer time Alpine passes notwithstanding, but I get the impression that’s not what you’re talking about.