The Hat Man isn't the Devil, but from all that I have read and seen, he, and plenty of other shadow folk*, are cacodemonic beings.
* - ''There are some shadow folk, from my own experience and from reading others' accounts, which are not explicitly harmful, but they're still freaky to encounter.