detect and add comment symbol