Which is a more portable way to comment a function? [closed]

Does the Bash language have a standard that dictates whether comments about the function should precede the function or be placed inside of it. If so, what is the most compatible method. I have seen scripts written both ways.

# Comment preceding function.
func1(){
echo "example"
}

-or-

func2() {
# Comment inside of function
echo "example"
}