We know that Aristotle wrote about Comedy.
Unfortunately those sections of The Poetics have not survived.
There is a wonderful movie called The Name of the Rose starring Sean Connery that looked at this problem.