Type any line of text, then hold the space key. It will add spaces at the end of the line.
It does no do any harm to keep them there, but I find it annoying. So I like to clean up. Especially if I release code.
Notepad++ -> TextFX -> Trim Trailing Spaces does it for me.