If your line is in a list you can get to it, by using FLATTEN file.lists as item, and then doing a WHERE contains(item.tags, "#quote"). If your text is just random paragraph, you need to read the entire file and process it using dataviewjs.
If you have use custom status in tasks (or decorated tasks), you can get to each quote using something like TASK FROM #quote.
So exactly how have you written your text? In paragraphs, list items or task items?