To only disable some Intelephense check in code block there is now the instruction : /** @disregard [OPTIONAL CODE] [OPTIONAL DESCRIPTION] */
Explained here : https://github.com/bmewburn/vscode-intelephense/issues/568#issuecomment-1763662245
It's very useful when accessing json properties that are not covered by a Class ;-)