If there's one thing I can say about most riders I've ever known at any level, it's that many of us have a wicked sense of humor, especially if the topic is ourselves. Call it a coping mechanism, call it what you like; I'm sure a mental health professional could (and would) have a field day.
But if you need a case in point, all you need to do is see Troy Bayliss' most recent Instagram post, where he shared a post-crash photo with a prime example of the kind of humor I'm talking about in the caption. Granted, most riders I know aren't also three-time WSBK champs who also raced in MotoGP, but I'd say it's probably the sense of humor that unites many of us, rather than necessarily having insane levels of racing talent.
If you're at all squeamish, you may or may not want to look at the photo Bayliss posted, as it looks pretty painful. Now's your chance to look away. I promise I'll share the caption in quotes in a paragraph below if you'd rather skip the imagery.