diff --git a/lib/reader/jdl_reader.js b/lib/reader/jdl_reader.js
index <HASH>..<HASH> 100644
--- a/lib/reader/jdl_reader.js
+++ b/lib/reader/jdl_reader.js
@@ -27,7 +27,7 @@ function readContent(content) {
     throw new buildException(
         exceptions.IllegalArgument, 'The content must be passed.');
   }
-  return pegjsParser.parse(content);
+  return pegjsParser.parse(filterJDLDirectives(content));
 }
 
 function checkAllTheFilesAreJDLFiles(files) {
@@ -61,3 +61,7 @@ function readFileContent(file) {
   }
   return fs.readFileSync(file, 'utf-8').toString();
 }
+
+function filterJDLDirectives(content){
+  return content.replace(/^\u0023.*\n?/mg,'');
+}
added filter in jdl_reader to prvent jdl_directives form beeing parsed