Swift allows /* */ to nest. What is happening here is that the /* in ./folder/* is getting matched up with the */ leading to the first comment being unclosed. You can replace the ./folder/* with ./folder/\ * (without the space between the backslash and the *, but I can't get JIRA to work properly), I think that should do the trick.
First of all thank you for your reply.
However, I do not agree with you.
If it is a grammatical problem, it can be solved as you said.
However, the problem here is the annotation document, and the annotation document is universal and has nothing to do with language.
This way of writing is normal in other languages. So, I think this is a bug in swift.
For example, putting this comment in other languages can be parsed normally.