A 401k loan is really a loan from yourself to yourself. You take money from your retirement savings (i.e. your 401k) to use now and paying yourself back over time.
In short, 401k loans are not considered a “debt” in bankruptcy and they’re not listed as such.
Your 401k will be listed on your Schedule A/B as an asset and your payments on the loan will be captured on your Schedule I as one of the deductions on your paychecks.