remove the comments in query files