Imitating lines of IMO code is a terrible quality metric. I believe this is a great day when I delete hundreds of lines of code.
However, answering your question. if your XML is hand written and represents the metadata that customizes your application, then yes, I would consider it code.
source
share