With empty system directory created new project. Added the single .sql file. Written CREATE TABLE statement like:
$PROJECT DDL$ shows it. Ok.
Now select the whole create table statement in .sql file and delete it. Save.
Check $PROJECT DDL$: it still shows the table.