To comment according to file type feature not work

Katecomment feature not work.
If one is to toggle between comment or uncomment some line(s) ie. to insert or delete the comment language-specific character(s), it will do so of comment character(s) for HTML document type

for example on python editing, even though the file is given with:
# kate: syntax python;
# …this result of toggling comment:
<!-- –>

So is the c++ file
all are correctly associated to its own file e

# kate: syntax python;

This should be python with capital P

 # kate: syntax Python;