Multi-line scopes


Is there any way to get the buffer Range of a scope that spans multiple lines?
For example, triple quoted strings in Python, or multi-line block comments (/* */ or <!-- -->).
bufferRangeForScopeAtPosition only seems to return a single row.
I could manually iterate over tokens, but that sounds like asking for trouble.