Remove inline comments from inventory tokenizing.

This removes inline comments from the line prior to tokenizing.  It assumes that comments will always be line suffixes (the last part of a line).  

Test included.