Fixes #677 getJSDocComment() should not search beyond FunctionExpression or FunctionDeclaration parent nodes.