From the first three letters of romantic and comedy. Probably based on the earlier sitcom.
romcom (plural romcoms)