The template:
Text before the comment. ## The comment. Text after the comment. #* A multi-line comment spanning several lines. It spans several lines, too. *# Text after the multi-line comment.
The output:
Text before the comment. Text after the comment. Text after the multi-line comment.
The generated code:
write('Text before the comment.\n') # The comment. write('Text after the comment.\n') # A multi-line comment spanning several lines. # It spans several lines, too. write('\nText after the multi-line comment.\n')