At this moment we don't remove the line where the helper sits. So you need to make sure there are no extra blank lines between if you don't want them.
{{#if}}aaA{{/if}}
{{#each}}
transform to
{{#if}}aaA{{/if}}{{#each}}
Here it is updated.
https://playground.jsreport.net/w/anon/61LkhsIa
We believe this isn't the regression compared to the previous versions right?
However, we consider removing the lines left after templating engine tags