I have described the LMHOSTS keywords in various tips on this site.

Type LMHOSTS and press GO.

If the LMHOSTS keywords are not entered in UPPERCASE, they are treated as comments.