As someone who discovered my Type 1 ASD at 40, the gods know that I have a lot more work to do on my self-awareness and abrasiveness.
Not saying you should adopt this, but sometimes I read aloud what I type and imagine myself replying to a student in real life in the way of and with the tone that people sometimes have on StackOverflow.
My gut reaction at that point, usually, is to rewrite a response or post completely with a more generous dose of humility and compassion.
I don’t always get it right, but when I remember to do that and read replies, I like myself a little bit more.