Sh.Pawan Bansal Ji,
You are to go step by step (stage-wise). Dictionary/legal meaning of the word, 'damaged' is 'lost'. 'Damaged' is synonym of the word, 'lost'. Thus availment of ITC is hit by Section 17(5)(h) of CGST Act,2017.
"(h) goods lost, stolen, destroyed, written off or disposed of by way of gift or free samples".
You cannot take credit of damaged/lost portion of raw material. You will take credit only of the tax paid on the value of the goods (raw material) received intact. As per law you have not crossed first stage (of taking credit).
Now comes second stage i.e. to sell/supply the raw material as scrap. As explained above, you are not eligible to take credit. If you take credit in this scenario, you are to reverse the credit. Credit reversed means credit NOT taken---held by the Court.
In other words, you can sell the damaged raw material as scrap only after reversal of ITC in the light of above discussion.
As per legal dictionary, the word, 'Damage' signifies the thing taken away--the lost thing which a party is entitled to have restored to him, so that may be whole again.