Have a template of that form: ```xml <t t-if=""/> <!-- Comment --> <t t-elif=""/> ``` Before this commit, both python and JS crashed because any type of node between branching directive was forbidden After this commit, Comments are just ignored and removed, while actual template nodes are still forbidden between branching directives There is no crash anymore closes odoo/odoo#45899 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>