Cracking a joke in full knowledge that the resulting laughter will be directed at you instead of with you.

Me: I know you're all gonna laugh at me, but I had a few beers last night and drove my segway off a cliff!
Friend: haha why would you even tell people that?
Me: just a bit of suicide humor, you should try it sometime.