Thanks to smart comic timing and witty dialogue, humor never gets lost or weighed down in the play’s underlying morbidity.