test post code brackets

I have not been posting code correctly. Is this how it is done?

Serial.begin(9600); //set up serial port to work at 9600bps

Thanks!