These statements are Sessions Relevance meant to be executed on the Server side.
The BigFix Clients do not know about them, hence the errors.
Comments are added to BES Computers on the server side, so the clients are not aware of them.
If you want to tag the Clients, you can right-click on computers in the Console and “Edit Computer Settings”. Then add a custom setting to the selected computers.
Then you can use the “Setting” inspector on the Client to query the results.
Examples:
q: value of setting “__LockState” of client
A: false
q: (name of it, value of it) of settings of client