In short, nope. Discount codes will not work on sale items.
If you have both sale and full priced items in your cart, you may still use your code, and only items that are not on sale will be discounted. Or, you can save most discount codes for later!
You got options! You do you!