Remove inline comments from inventory tokenizing.