Well it creates the marker at the point you add the folder.
If later the marker disappears we assume there was a mount issue and not sync that directory, as in case of a mount issue syncthing would see all files as removed, hence user intervention is required to resolve this issue.
The file is literally supposed to be named .stfolder. I am not sure you can create this from Explorer on Windows.