The significance of the word comedy in the title of Divine Comedy is because (B) It signifies that the story begins sadly but ends happily.
In the 14th century, ancient poems were titled either High (tragedy) or Low (comedy). Low poems often had happy endings and dealt with more base and vulgar subjects.