The only answer is to get mentally tough enough to overcome. and learn to give it back in ways that are effective against whomever is gaming you. Just depends on how far you want to push it.
Myself, when I am playing against someone who makes "comments" is that in my mind I reframe it to pretend they are really wanting me to succeed.
For example, they say "that sure is a tough pitch over all that sand" turn is into "Focus now, this is important, be aggressive to the spot".
Works sometimes, sometimes not. But regardless, you have to get mentally tough.