Added value stripping and and started comment stripping.

Values such as strings are stored as #<index> so as to avoid formatting
conflicts with string values. Same needs to be done with comments.