I have edited this question with lang tags on this question -Zipping/archiving old log files?
As suggested here -> https://meta.stackexchange.com/a/184109/168386
with <!-- language: lang-xml -->
for XML and <!-- language: lang-cs -->
for C#
Still I don't know why syntax highlighting is not working.