You can, but your deduction will be limited to the current, depressed value of the stock. It’s wiser planning to sell the stock, recognize the loss, which can offset realized gains and/or be carried forward indefinitely, and then get a second tax benefit by giving us the cash proceeds.