A WAV file can contain a list of cue points in the “cue” section with labels in the “LIST” section, subsection “adtl”.
This information is returned by the libsndfile library, e.g. (not relevant lines omitted):
I think the situation greatly simplifies if you assume that there is only one “WAVE” with only one “data” chunk (this should always be the case, unless the file has a wave list chunk (I don’t know if Ardour / libsndfile handles this)). Then only the cue points that belong to this data chunk need to be taken into account.
There are no plans to do this, because the semantics/meaning of cue data in .wav doesn’t seem very well defined (which means it isn’t always used for the same purpose). If you can point me to a document which suggests otherwise, I can consider it. Technically, there can be any number of chunks in a .wav file, of any type and name. ProTools, for example, creates several different kinds of chunks that are unique to it, and largely undefined outside of PT.