I think that is a going to be very complicated. When the line is commented using "--" you are able to match it with "AND NOT LIKE '%--%' ". But when the line is commented using the "/*...*/" block, the comment string doesn't have to be in the same line as the search string.
You probably have to build logic to
first: get the complete text
second: remove all commented text (both between /* ... */ and between -- ... line-end)
finally: search for the searchstring in the remaining text.
** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **