• Using Studio 9.00.3042.00

    PRINT '1' -- /* ;PRINT '2' */ ;PRINT '3' /* PRINT '4' --*/

    --/*

    PRINT '5'

    --*/

    /*

    PRINT '6'

    --/*

    */

    PRINT '7'

    --*/

    PRINT '8'

    yields a return of:

    1

    5

    8

    The parser only shows PRINT '1' , PRINT '5' and PRINT '8' in blue, the rest of the PRINT statements are Green (comments)

    SQL Server 2005 64-Bit on Sun 4600