You’re certainly not the only adult with ADHD to use humor as a coping mechanism. Here’s another:
And I think it’s human nature in general, really.
As for how to stop doing it, I don’t have answers for that.
ADDitude Community Moderator, Author & Mentor on Parenting ADHD, Mom to teen w/ ADHD, LDs, and autism