I have seen literally hundreds of comments/jokes/emails/phone call recordings/etc taken out of obvious context and submitted as evidence - often to the detriment of the innocent. In the serious environment of a lawyers office or court room, or in the intentionally biased environment of social media - NOTHING IS FUNNY. All jokes are insensitive at best, or are at worst evidence of malicious intent.
Over the years, in my opinion, I have personally this phenomenon getting significantly worse.
We advise all our clients just not to make jokes, unless you're in private with very close friends/colleagues you trust. Never EVER make a joke or sarcastic comment in writing. Anything that can be misinterpreted, WILL be misconstrued, often intentionally, when any relationship sours.
In general, if you are or might become under any scrutiny whatsoever, golden rule #1 is: Shut the fuck up.
There are some instances where it might potentially help - when your team is under stress (real or perceived). Light humor (if well done), might alleviate some of the tension in the room and let them focus on work.
One thing is for certain, NEVER put jokes or sarcasm in writing.
I've read way too many of those in court.
You can still be kind, empathetic and polite to everybody you work with. But avoiding authentic personal relationships at work is very sensible, along with having very clear personal boundaries. Normal colleagues can form cliques of people they trust, but it’s not a great outcome for management to be participating in that, even though that’s what usually happens.
“Bring your true self to work” and other modern workplace nonsense is risky advice to take seriously. It’s mostly a coded communication that does not mean what it appears to on the surface.
Make jokes, it helps build rapport with people you spend so much time with! But be careful about the message you convey, people will run wild with it overnight.
Depends on what you are going for.