Your can write SQL which reads good, like this:
create table tablename (
Comments in SQL statements sent through ADO will sometimes error out in ADO when ADO tries to parse it. By stripping out the comments, you have both documented SQL code and you don't get any errors when you try to use the commented code within your ADO application. Then use these SQL saved in files directly!
How to use it?
Declare the function in any .h file of your project:
int ClearSQLComment(LPCTSTR lpSQL,CString &rString);
and use it: