Check that if a comment is provided, it's really a string.