Retirement tax questions

Sorry you can't take the loss on your tax return.  Your 401K contributions went into the 401K as pre-tax and you never paid tax on them in the first place.  You take the loss when you take a withdrawal,  you will  have less income to pay tax on.