I would give it to Carrey. His comedy career seems pretty much dead now, but it has more enjoyable movies. Also, he has some pretty interesting drama with Eternal Sunshine, Truman Show and Phillip Morris.
The closest thing Sandler has is Reign Over Me, which is honestly unwatchable. Actually, I am beginning to think he was never funny and we were fooled into him by the SNL marketing.