If you are married, filing separately, you will still need to enter your spouse's name and SSN on the 1040. However, If you file a separate return, you generally report only your own income, credits, and deductions.
https://taxmap.irs.gov/taxmap/pub17/p17-013.htm