Remove trail comment from for snippet.