One idea, maybe using file instead of virtual will avoid the bug and not require your added code.
<!--#include file="issue-0001.html" -->
Also, be careful of any moves to supporting dynamic content as Server Side Includes can (sometimes?) lead to code exec even with IncludesNoExec.