Adding comments in a fish shell function file

comments, fish

Solution

The comment sign is `#`, as glenn jackman suggested.

Problem

How do I add comments to a function a write for fish shell? Is it `//`. I can't seem to be able to tell. When I use `//`, sometimes when the function fails, it changes the user to the root directory.

Original source