No, this also affects anyone under employment based immigration petitions unrelated to marrying a US citizen.
https://www.uscis.gov/sites/default/files/document/memos/PM-...
https://fam.state.gov/fam/09FAM/09FAM040213.html#M402_13_5_B
Seems extremely clear to me.
Footnote 20: However, maintaining lawful status in a dual intent nonimmigrant category is not sufficient, on its own, to warrant a favorable exercise of discretion