Will this cause error for IE when using <!--[]>

2019-09-16 05:08发布

问题:

I notice that we can use condition-in-comment for IE browsers and in some IDE such as PyCharm we have the code folding for it as the attached snapshot.

So I wonder if I would cause any error for IE when using the syntax to create collapsible code-region as below snippet

<!--YOUR COMMENT GOES HERE--><!--[]>
  <script src="someSource"></script>
<![]-->