title: {$WARN DUPLICATE_CTOR_DTOR OFF} gets deleted from Dpk file
body: <p>I need to turn off this compiler warning because I don't intend to make my library compatible with C++.</p>
  <p>If I put the compiler directive in the PAS file that generates the warning, it is ignored.</p>
  <p>People on the mighty internet say that {$WARN DUPLICATE_CTOR_DTOR OFF} should be placed in the DPR file. It works. But if you put in in DPK files, the IDE will delete it every time I change the Project Options (we all know that at when changing the options, the DPK file gets partially rebuilt).</p>
  <p>Question: How do I make the directive stay in the DPK file?</p>
  <p>To reproduce it:</p>
  <ul>
  <li>Start Delphi 10.4,</li>
  <li>start a new Delphi package (File main menu)</li>
  <li>add {$WARN DUPLICATE_CTOR_DTOR OFF} after {$IMPLICITBUILD ON}.</li>
  <li>now open Project Options, change something and close the dialog. The directive will be gone.</li>
  </ul>