Added '<! @endif -->' syntax to allow valid blocks that are hidden by default.
Added tests for '<! @endif -->' syntax.