However, the guides for all languages and platforms that use snapcraft.yaml (except, oddly, Java) say “Snaps are defined in a single YAML file placed in the root of your project”.
If both the project root and snap/
are allowed locations, this should be made explicit.
[Prompted by a question in build.snapcraft.io#1094.]