Well, no, that is not normal. I strongly suspect "typo".
There are a couple of characters that might throw Nasm for a loop. One is the "line continuation character", '\'. If that occurs at the end of a line, and it's in a comment, it'll make the next line a "comment", too (and thus ignored).
Another one I encountered a long time ago, if memory serves, was 1Ah. This produced (in dos) a right pointing arrow - like "->", but a single character. I was using it to indicate "subdirectory" in a directory listing. "mov dl, 1Ah", or so. Worked fine, but then I "improved" the program by adding a comment indicating what that character was (had to beat the editor into submission to produce it). Nasm took this as "end of file" and ignored everything after it - making a bunch of stuff "undefined". Foolishly, I made this change along with a lot of other changes. Drove me ape-feces! Who would have thought that a character in a comment could cause that much trouble? But that and '\' can do it!
If you can't find the problem, put more eyeballs on the job - post the code!
Best,
Frank