I believe Apple is still changing the syntax. It looks like all the @ keywords are not implemented as of Xcode 6b2, but otherwise it's the same as ObjC.
So something like what you have would work:
/**
* I am a function.
*/
func randomFn() {}
Although it seems that Swift stops to align the *
s. Of course, you don't really need the stars except the first and last, so you can do this:
/*
I am a function.
*/
func randomFn() {}
Both will be picked up by the comment parser so when you 3-finger click on the function name you will see its doc.
@param, @return worked for beta1 but not beta2, and those keywords crash the parser a lot in beta1, suggesting that Apple is not done with implementing those yet.