My husband set up a single-member LLC this year that didn't earn any income. Can we deduct legal fees paid to establish the LLC?

He's decided not to pursue the business any further at this point, so it won't be earning any income in the foreseeable future. We'll report a loss because he also paid a contractor to do some work for the business, correct?