Check if an element is a comment.
element – The element to check.
True if the element is a comment, False otherwise.