modify how to use snippet, add tcomment