I like Sidney Lumet’s breakdown:
In drama, the characters should determine the Story.
In Melodrama, the story determines the characters. Melodrama makes the story line its highest priority, and everything is subservient to story.
For me, farce is the Comic Equivalent of melodrama and comedy the comic equivalent of drama.