There are a number of questions an attorney should ask before attempting to give you an answer to your specific question. The answers already given suggest some of the questions that should be asked as well as some that are not asked. You really need to get a free consultation with an attorney to give both of you the opportunity to exchange questions and answers. None of the answers given previously are complete and they cannot be complete unless the attorney knows more specifics about your particular situation.
We don't know your income or who your employer is. We don't know what type of loan you have. We don't know your expenses and other debt. We don't know your family situation. We don't know your physical or medical condition. We don't know your age. We don't know how long you have been in forbearance or deferment. Do you see there are many factors to consider? It might be wise not to make a decision without a thorough evaluation of all the options and ramifications.
I wish you all the best.
Howard H. Ellzey
Have you explored income based repayment or income contingent repayment plans? I agree -- student loans are almost impossible to get discharged in bankruptcy unless a person is permanently disabled or terminally ill and will never be able to work. And even then, it can be a very long and expensive process.
Bankruptcy is not likely the answer to your problem. I understand how oppressive excessive student loan payments can be, but discharging those obligations through bankruptcy (Ch. 7) is extremely unlikely.
You better option is to contact your lender and see about income sensitive repayment, a forbearance, or other options that limit your repayment obligations. There are a lot of programs available, because this is a very common problem these days. Good luck.