Add function to check for comments.