#### Fix line comments jumping past member expression lookups (#18522 by @ulrichstark)

Line comments between a member expression object and property were incorrectly moved past subsequent content like `as` expressions.

<!-- prettier-ignore -->
```tsx
// Input
function getClassNameFromPrototypeMethod(container) {
  return ((container // a
    .left as PropertyAccessExpression) // b
    .expression as PropertyAccessExpression) // c
    .expression; // d
}

// Prettier stable
function getClassNameFromPrototypeMethod(container) {
  return (
    (
      container.left as PropertyAccessExpression // a
    ).expression as PropertyAccessExpression // b
  ).expression; // c // d
}

// Prettier main
function getClassNameFromPrototypeMethod(container) {
  return (
    (
      container // a
      .left as PropertyAccessExpression
    ) // b
    .expression as PropertyAccessExpression
  ) // c
  .expression; // d
}
```
