IMHO if people find someone offensive, then don't listen!
This is problematic when a comedian is given a platform regardless of whether or not you listen.
The best way of eradicating harmful and offensive humour is indeed to listen - and then to not laugh, or to call it out, and to challenge and resist it with extreme inexhausible prejudice.