I would not experiment with torpedoing a loan application.
The loan application contains your assets and liabilities. The margin loan wasn't listed, so if it suddenly comes into existence, your application is incorrect. To say the least, your timing is suspicious.
The section on your "debts" in the loan paperwork should cover the situation you describe. You could also call the bank and ask what level of margin loan would not hurt your loan application.