interface i {}
world w {
/// this is lost
import i;
}
These comments are discarded during parsing, meaning e.g. this doesn't survive a round-trip through binary WIT encoding.
I spent a little time trying to fix this but I think it needs a breaking change to the package metadata serialization format.