Question #N4

Which of the following sentences correctly uses a comma to separate a nonessential phrase?
A. The play, which was written by Shakespeare, is a comedy.
B. The play which was written by Shakespeare, is a comedy.
C. The play which was written by Shakespeare is a comedy.
D. The play which was written by Shakespeare, is a comedy