I'd consider it a drama that's funny, but a lot of shows are like that today, and some of them submit themselves as comedies because the drama category is too crowded as it is. Shameless (US), Orange Is The New Black, and other shows have been competing as comedies -- it goes all the way back to Ally McBeal.
Amazingly, Boston Legal, probably the funniest drama ever, kept competing as a drama (then again, James Spader and William Shatner were winning Emmys so why change).