For this (avoiding newlines) the currently discussed multiline tags<https://groups.google.com/forum/#!topic/django-developers/wRKgnMIhl6g> would work pretty well too without adding more cruft to the template language:
foo bar {# #}baz mjl -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-developers/-/R-wdFVTvxGAJ. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.