Added comment validation and error message.