The solution is to put a " \" after the link. This seems to be able to enable the url slip under the notes reformatting radar without affecting the functionality. So the above example becomes:
<a href="file:///\\myserver.com\link\to\file.type \">click me<a/>