PyFile:MultilineFStringContainsCommentInsideExpression.py PyAssignmentStatement PyTargetExpression: s PsiElement(Py:IDENTIFIER)('s') PsiWhiteSpace(' ') PsiElement(Py:EQ)('=') PsiWhiteSpace(' ') PyStringLiteralExpression: {[ # comment ]} PyFormattedStringElement PsiElement(Py:FSTRING_START)('f'''') PyFStringFragment PsiElement(Py:FSTRING_FRAGMENT_START)('{') PyListLiteralExpression PsiElement(Py:LBRACKET)('[') PsiWhiteSpace('\n ') PsiComment(Py:END_OF_LINE_COMMENT)('# comment') PsiWhiteSpace('\n') PsiElement(Py:RBRACKET)(']') PsiElement(Py:FSTRING_FRAGMENT_END)('}') PsiElement(Py:FSTRING_END)(''''')