Backslashes are valid characters in a POSIX filesystem, but they don't indicate a directory.
static-files = path/to/static/files
And have it work on all platforms gives a distinct advantage over specifying paths as strings.
The one exception on Windows may be paths in a CMD.EXE command line, where / may be confused for a switch character, but I would think a config file should not be passing paths on a command line but instead passing them directly into a program - and then the forward slash will work fine.