Search code examples
visual-studio-2010asp-classic

vbscript comment code as single line not multiple line


<SCRIPT language="VBScript" RUNAT="Server">
    function f
        Dim rs
        Dim str
        Dim arr
    end function
</SCRIPT>

If I highlight the function, then click on Comment out selected lines button, or press Ctrl+K, Ctrl+C, it comments the function as HTML, like this:

<SCRIPT language="VBScript" RUNAT="Server">
<!--    function f
        Dim rs
        Dim str
        Dim arr
    end function-->
</SCRIPT>

How can I get it to comment it with quotes like this:

<SCRIPT language="VBScript" RUNAT="Server">
    'function f
    '    Dim rs
    '   Dim str
    '    Dim arr
    'end function
</SCRIPT>

Solution

  • Not possible with Visual Studio.