List of steps to reproduce (step by step, including full links if applicable):
{{{field|samplefield|input type=dropdown|show on select=<!-- -->Name=>name;<!-- -->My name=>my_name;<!-- -->My name2=>my_name2;<!-- -->My name3=>my_name3;<!-- -->My name4=>my_name4;<!-- -->My name5=>my_name5;<!-- -->My name6=>my_name6;<!-- -->}}}
What happens?:
The form does not load fully and instead prints Error in form definition! The following field tag contains forbidden characters:
What should have happened instead?:
The form loads fully w/o errors
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
PageForms since this commit 40f5ad6b109f
HTML comments make template code more readable. We use long lists for show on selects. It's difficult to maintain code w/o being able to use comments in this case.