Hi Solomon
Very useful SP!
Some time ago I wrote something similar to it but never had time to work on supporting comments and strings.
So, I let myself to add multiple database support (see the attachment for the modified code). Additionally it is good to take the linked server name in brackets.
Thanks
Jaroslaw