Sarcasm is a difficult thing to master well without coming off as hostile.
You are coming off as hostile and perhaps a weebit passive aggressive.
Speaking from my own personal battle with the disorder...
If you are prone to sarcasm, and you don't have the necessarily health care to cover the cost of the meds to control it you can still make a series of choices on when and where you use sarcasm. Control the disorder don't let the disorder control you.
Among many strategies I have tried over the years, the one I find most successful in written communication forums is to keep bulk of the sarcastic comments aimed directly at oneself. I believe the term is self-deprecation. You still might not master right off the bat, unless your British, I'm not so I'm still working on it, but it does help take the edge off a bit when others are reading what I write. Instead of coming off as hostile, when making sarcastic jibes at other people, you just come off as a bit odd, muttering about yourself. And maybe this strategy isn't for you. Maybe you need electroshock therapy. I can't tell you want will work for you. Experiment... maybe try that electroshock stuff a couple of times just to be sure its not the right treatment for you.