I have a script with many debug messages, which are printed by PRINT function. Is there any way to disable that messages? I have in mind something like SE
PRINT
SE
Quite simply, no. There is no #debug either.
SSMS tools pack has a #debug feature but I've not used it.