I have a really simple standard of judgment for comedies. If a comedy makes me laugh, it’s a good comedy. I don’t care how well or poorly written it is, what the quality of the cinematography, direction, or acting was. If I don’t laugh, it was a bad comedy. If I do laugh, it was good.
That said, let me recommend the funniest film I’ve seen in years: Mystery Science Theater 3000: The Movie. Slightly off color here and there. But mainly gaspingly, tears-coming-to-my-eyes-with-laughter funny.