Hi - my name is XXXXX XXXXX I'm a Bankruptcy litigation attorney. Thanks for your question.
Generally, courts will NOT enforce provisions in a contract/agreement that waives one's right to file bankruptcy or to include a debt in a bankruptcy. Here's a good link that discusses this topic: http://www.abiworld.org/AM/Template.cfm?Section=Working_Group_Proposals&Template=/CM/ContentDisplay.cfm&ContentID=36462
Here's another one: http://www.callahanlaw.biz/523Article.pdf
However, there is NOT a lot of case law out there on this point, and there are some cases and judges out there that suggest IF a party agrees or promises to pay a debt, then it is NOT dischargeable.
Thus, the best thing to do is either NOT sign the agreement, or either add a few words to the sentence you quoted to specifically except bankruptcy out of the provision. In other words, you could say nothing in this agreement prohibits you from filing bankruptcy and this agreement doesn't make the debt non-dischargeable if bankruptcy were filed (or something like that).
You don't want to put yourself in a position to have to litigate this issue with a creditor who has deep pockets! Even if you're legally right, you may not have the money to withstand the fight over this issue.
Thus, the best options are to either not sign the agreement at all or add language to make sure that you're not giving up your right to file bankruptcy and receive a discharge for the debt.