You know, when I was young, I went on one of those YTS courses. One of the exercises we were made to do was to draw individuals from different groups - a police man, a gay man etc. Someone drew the policeman in the person of Inspector Cluseau, complete with fizzing petard under the chair and, 'though it was rather clever, he was admonished for it because the purpose of the exercise is to note that the members of these groups are people the same as you and I. I'm telling you this because that's been my attitude all along: people are people, no matter their individual differences; none is more privileged, as far as I'm concerned, than anyone else, and everyone is discriminated against equally too: it may not be readily apparent, but that's because some of us keep quiet about things like that, knowing that nobody really wants to know that isn't a friend or family member, and those who aren't could well use such information against us. And in what way was I making a joke at the expense of anyone? Granted, I wasn't glorifying them to the heavens, but then is that really necessary? As they are just ordinary people, they deserve to be treated as anyone else would with to be treated. Were I generalising and calling the whole cast of them a bunch of bastards then I'd be insulting them, but so too would I be if I patronised and, thus, belittled them, which is exactly what I would have been doing had I classified them as sacred and thus beyond even mentioning in jokes.
As an actor, part of my job is to embody a role and bring it to life. I can do this by filling out a back-story and adapting elements of my own personality and experience to the aspects highlighted by the role. I might not have, as social justice warriors term it, lived experience, but I have enough experience in my own life that I can put two and two together and not make five. But at the end of the day, most people who take offence do so vicariously, and usually to the bewilderment of those who are thought to have been offended. Black Lives Matter, for instance, is mostly white virtue-signalling millennials who want to appear trendy and have something to post on their Instagram. I'm not, for one moment, suggesting you're one of those - but 'tis wise to be circumspect, from both ends.
For myself, I always look at the intention behind remarks directed at me, and if they are reasonable I reply in kind, and if not I can give as good as I get as far as the printed word is concerned, 'though verbally it's usually a case of l'esprit de l'escalier!