The New Dictionary of Cultural Literacy, Third Edition. 2002.
comedy
A workplay, story, novel, or filmthat ends happily for the main character (or protagonist) and contains humor to some degree. A comedy may involve unhappy outcomes for some of the characters. Shylock, for example, in The Merchant of Venice, a comedy by William Shakespeare, is disgraced in the play. The ancient Greeks and Romans produced comedies, and great numbers have been written in modern times.