Further to what Atty Schwartz has said, sales taxes are typically "trust fund" taxes that a vendor collects from the purchaser and holds "in trust" to pay to the state. If you collected the sales taxes from your customers, I'm sure you understand why you can't discharge your obligation to pay them over to the state. If you did NOT collect taxes when you should have, your remedy is to seek an abatement of the tax. You would need to retain someone who specializes in NY sales tax issues to help you with that.
When you collect taxes for a govenement entity, that is referred to as "trust fund" taxes. If instead of remiitting those trust fund taxes you do something else with that money, that debt is not generally dischareable in bankruptcy.
In NYS the answer is no, sales tax is not dischargeable. However, sales tax is dischargeable in some other jurisdictions, so you will want to check with a local attorney.
This material does not constitute tax, legal or accounting advice. It was not intended or written for use and cannot be used by any taxpayer for the purpose of avoiding any IRS or NYS penalty. The information contained herein is for informational purposes only as a service to the public, and is not legal advice or a substitute for legal counsel, nor does it constitute advertising or a solicitation. This response is not intended to create, and does not create, an attorney-client relationship between you and the author.