[api] adding spaces after comment signs for readability

This is the recommended way to write comments as it's more readable.  This
tip was given by quantifiedcode.com
[api] correcting indentation