Hi,
AFAIK this information isn't stored in the entity, but the entity ObjectId is stored in the field code.
You can first select all mtexts and get the FielCode foreach mtext.
If the FieldCode matches "(%<\\_ObjId *>%).Area", store the ObjectId in a list.
Then select the polylines and remove from the selection those whose ObjectId is in the list