{% for section_name, section in document_dictionary.items() -%}
{{ '' if loop.first else '\n' -}}
{% if '#' in section.keys() -%}
{% for comment in section['#'] -%}
{{ comment }}
{% endfor -%}
{% endif -%}
[{{ section_name[0] + section_name[1:] | join('][') }}]
{% for parameter_name, value in section.items() -%}
{% if parameter_name != '#' -%}
{% for comment in value[:-1] -%}
{{ comment }}
{% endfor -%}
{{ parameter_name[0] + parameter_name[1] }}={{ value[-1] }}
{% endif -%}
{% endfor -%}
{% endfor -%}
