I didn’t get it work otherwise than using the following workaround by using an or operator and using two conditions:
[{$page.id.blog} in tree.rootLineIds || {$page.id.pressReleases} in tree.rootLineIds]
I didn’t found a solution to get it working by using commas [{$foo}, {$bar} in tree.rootLineIds]
.