Removed empty lines from optional tags and comments