• Yes, use SQL Search (it's free I think) as you're just rewriting that functionality really

    EDIT: Even SQL Search doesn't check whether the searc string is commented or not.