docs(demo): improve style of comments, move template markup