Off the top of my head, SpongeBob SquarePants, Danny Phantom, Fairly Oddparents, The Big Bang Theory and It's Always Sunny in Philadelphia all have jokes, if not the main plot point of the episode, that are just mocking the existence of LGBTQ people.
They have multiple episodes where Charlie discovers the LTV and in Flowers for Charlie, they have the researcher studying him say "your understanding of the value of your labor aligns almost perfectly with the findings of Karl Marx"
Also the episode where they sabotage the Chinese fish factory and say that all the shit they did was evidence that it was unsafe even though the factory continually showed that it was actually incredibly safe because Dee was saved by safety measures every time.
The first episode where they drop the N-word like 4 times was kinda cringe though. Also the whole Mac and the "T-slur" bit. They definitely tried to make up for it later though with all the characters expressing pretty clearly that being trans is good. The bathroom episode that was lampooning the bathroom panic was great. The conclusion was to just call both bathrooms "Animal Shithouse" and be done with it.
The show can be kinda all over the place though. Most of the time you're supposed to take whatever the characters say/believe and flip it to get the moral. Occasionally, they have the caracters do good things though. I wonder if they realized that a lot of people weren't getting that you aren't supposed to side with the gang and started just having them be more blatant about some issues.