bugfix infinite loop with string interpolation

The FindComment function now correctly ignores the hashtag ('#')
when it's used for string interpolation (e.g., "John is #{8} years
old."). Before this would cause the function to get stuck in an
infinite loop.