I tried to paste a link to lmgtfy.com as the comment and I got this error:
Why is LMGTFY considered bad and are there any other types of content comments can't contain?
It's not allowed because it is (or, at least, tends to be perceived as) rude and condescending.
Look at it from the recipient's point of view: You go to someone for help, they say "look here", and all that turns out to be is a link to a Google search page.
Rather than a LMGTFY link, if you want to help someone improve their search skills, it is reasonable to leave a comment along the lines of "you need to search for x y z
".
There are other words and phrases that are not allowed in comments for similar reasons, but it would be counterproductive to tell everyone what that content is.
x y z
"
site:stackoverflow.com
to your Google query and picking a suitable dupe target?