Not against revenue income. It will be a capital loss, and will be able to be offset against future capital gains.