I often try and make people laugh, partly from a feeling of inadequacy, but partly the habit set long ago in my abusive childhood. Make the particularly unpredictable and dangerous parent laugh and you got a few minutes of safety (including physical safety). It was a strong motivator to be 'witty'.
For instance, looking at American news, you could sarcastically say "Go America!" to almost any story (unless it's actually good news, of course). Not only is such sarcasm negative, but it's also very passive.
Sarcasm also strikes me as juvenile. Children complain because they expect a parent will find a solution for them. Juveniles turn to sarcasm because they don't want to ask an adult to solve it, but they don't have a solution either. Then when they grow up, they realize that problems really do need to be solved and no one else will do it, so they need to use more productive communication strategies.
Luckily the easy defense against sarcasm it take the statements at face value. “Oh, really? You wanted to work on Saturday? Well, great then.”
It puts the burden on the listener and requires mind reading - "is she being serious? Or is this a joke?".
I would contend that the mental health issue stems from when the speaker gets offended that the listener can't mind-read. "WHAT? Why would you take that seriously? I was just joking!"
If you're looking to get a point across, it's the worst means imaginable.
Say it plainly. Say it directly.