*Had
Looking back at the 80s and the 90s sure, you had:
- Blackadder
- The Young Ones
- Only Fools & Horses
- Red Dwarf
- Bottom
- Never Mind The Buzzcocks
- Have I Got News For You (best in the 90s)
- Harry Enfield & Chums
- The Fast Show
- Big Train
- The League of Gentlemen
- I'm Alan Partridge
and so much more
You hardly get anything like that these days
People in the 90s may well have been shaking their fists at the sky and complaining that the BBC no longer made things like Fawlty Towers, Monty Python, Porridge, The Good Life, Dad's Army, etc.
I don't watch a huge amount of TV, but there are plenty of more recent (and darker) comedy series I'd say are the modern equals of the ones you mentioned. Not so much sketch shows, fart gags, and canned laughter, but times change.
- This Country
- Gavin and Stacey
- Fleabag
- People Just Do Nothing
- The Detectorists
- Am I Being Unreasonable
- Bad Education
- Psychoville
- Inside Number 9
- The Thick Of It
Also, in the time between your list and mine, there was The Office and The Royle Family. And if you're considering more than just comedy shows there are things like I May Destroy You, Line Of Duty, Luther, Peaky Blinders, Killing Eve, The Fall...